mod majhong;

use majhong::machine::{Event, MachineManager};
use tracing_subscriber::{prelude::__tracing_subscriber_SubscriberExt, fmt, util::SubscriberInitExt};

fn main() {
    tracing_subscriber::registry().with(fmt::layer()).init();

    let mm = MachineManager::new();
    let mut m = mm.default();
    m.fire(Event::SitDown(0));
    m.fire(Event::SitDown(1));
    m.fire(Event::SitDown(2));
    m.fire(Event::SitDown(3));
}
